﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TjZheng.JiaLi.Process
{
    public class wwwaitaotucomTicketContext : TicketContext
    {
        public wwwaitaotucomTicketContext()
        {
            string title = "爱套图抓图神器";
            if (this.ValidTicketInfo != null)
            {
                if (this.ValidTicketInfo.ExpireTime.HasValue)
                {
                    title = string.Format("爱套图抓图神器：【您的产品将在{0}过期】", this.ExpireTime.ToString("yyyy-MM-dd HH:mm:ss"));
                }
            }
            else
            {
                title = "爱套图抓图神器：【对不起，您的产品激活失败】";
            }
            this.FormTitle = title;
            this.TargetUrl = "http://www.aitaotu.com/tag/youguowang.html";
            this.PageUrlFormat = "http://www.aitaotu.com/tag/youguowang/{page}.html";
            this.SingleUrl = "http://www.aitaotu.com/guonei/4355.html";
            this.Directory = @"D:\JiaLi\aitaotu";
        }
    }
}
